package com.ycMc.service;

import com.ycMc.domain.Product;

import java.util.List;

/**
 * Created by libo2 on 2017/8/23.
 */
public interface ProductService {

    public void insert(Product product);

    public void update(Product product);

    public void delete(String productId);

    public List<Product> selectAll(int currentPage,int pageSize,int containZero);

    public List<Product> select(Product product,int currentPage,int pageSize);

    public List<Product> query(String keyword,int currentPage,int pageSize,int containZero);

    public Product selectOne(String productId);

    public void aaaaa();

}
